package org.lanqiao.tjut.service.impl;

import org.lanqiao.tjut.bean.UserInfoBean;
import org.lanqiao.tjut.dao.IUserInfoDao;
import org.lanqiao.tjut.service.IUserInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service("userInfoService")
public class UserInfoServiceImpl implements IUserInfoService {

	// 组合一个dao层对象（采用面向接口的编程）
	@Autowired
	IUserInfoDao userInfoDao;

	@Override
	public boolean doUserLogin(UserInfoBean userB) {
		// 调用dao层进行业务逻辑处理
		return userInfoDao.doUserLogin(userB);
	}

}
